import { defineStore } from 'pinia'

export const useSocketStore = defineStore('socket', {
  state: () => ({
    socket: null,
  }),
  actions: {
    initSocket() {
      // socket 初始化逻辑
    },
    connect() {
      // 连接逻辑
    }
  }
}) 